package com.ctshk.rpc.system.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 系统消息表
 * </p>
 *
 * @author 谢诗宏
 * @since 2020-12-28
 */

@Data
@ApiModel(value = "SystemMessage对象", description = "系统消息表")
public class SysMessageDTO implements Serializable {


    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime gmtCreate;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime gmtModified;

    @ApiModelProperty(value = "来源")
    private String source;

    @ApiModelProperty(value = "类型（ 1：待办  2：通知）")
    private Integer type;

    @ApiModelProperty(value = "发送时间")
    private LocalDateTime sendingTime;

    @ApiModelProperty(value = "状态（1：未读 2：已读）")
    private Integer isRead;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "消息体")
    private String content;

    @ApiModelProperty(value = "业务id")
    private Long businessId;

    @ApiModelProperty(value = "业务单号")
    private String businessOrderNo;

    @ApiModelProperty(value = "业务类型")
    private Integer businessType;
}
